import Vue from 'vue'
import Router from 'vue-router'
import Card from '@/views/Card'
import File from '@/views/file'
import Register from '@/views/register'

Vue.use(Router)

export default new Router({
  mode:"history",
  routes: [
    {
      path: '/',
      name: 'register',
      component: Register
    },
    {
      path: '/Card',
      name: 'Card',
      component: Card
    },
    {
      path: '/File',
      name: 'File',
      component: File
    }
  ]
})
